<template>
  <div class="app-container">
    <el-row class="filter-container" type="flex" justify="space-between">
      <el-col>
        <el-input v-model="keyword" placeholder="输入要搜索的用户名" style="width: 200px;" size="small" class="filter-item" @keyup.enter.native="handleFilter" />
        <el-button v-waves class="filter-item" type="primary" icon="el-icon-search" size="small" @click="handleFilter">
          搜索
        </el-button>
      </el-col>
      <el-col class="text-right">
        <el-button type="success" size="small" icon="el-icon-edit">添加操作员</el-button>
      </el-col>
    </el-row>
  </div>
</template>

<script>
// import SwitchRoles from './components/SwitchRoles'

export default {
  name: 'Operators',
  components: { },
  data() {
    return {
      keyword: ''
    }
  },
  methods: {
    handleFilter() {
      console.log('handleFilter')
    }
  }
}
</script>
